package com.cgsd.heyu.http;

/**
 * @author xiaoxing
 * Created by Administrator on 2018/3/24.
 * 基础数据
 */

public class BasePageResponse<T,K> {
    private int code;
    private String message;
    private T data;
    private K pageInfo;
    /**
     * 是否有下一页
     */
    private boolean isMore;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public boolean isMore() {
        return isMore;
    }

    public void setMore(boolean more) {
        isMore = more;
    }

    public K getPageInfo() {
        return pageInfo;
    }

    public void setPageInfo(K pageInfo) {
        this.pageInfo = pageInfo;
    }
}
